package cn.dansj.service;

import cn.dansj.entity.Role;
import org.springframework.data.domain.Page;

import java.util.List;

public interface RoleService {
    List<Role> getAll();

    Page<Role> search(Integer pageNum,
                      Integer pageLimit,
                      String name,
                      String description,
                      String status);

    void updateRole(Role role);

    void updateStatus(String sequence);

    void updateVip(String sequence);

    Role getRoleByName(String name);

    boolean initRole();

    List<String> getInterfaceVip();
}
